//
// Created by wenyaxi on 24-11-4.
//
#include <common.h>
#include <json.hpp>

using namespace std;
using namespace nlohmann;

struct Person {
    int id{};
    string name;
    int age{};
};

void test() {
    auto generate_random_vector = Random::generate_random_vector(10, 100);
    json j;
    j["nums"] = generate_random_vector;
    j["id"] = 1;
    auto basic_string = j.dump();
    cout << basic_string << endl;
}

void test1() {
    Person person;
    person.id = 2;
    person.name = "John";
    person.age = 20;
    json j;
}

int main(int argc, char *argv[]) {
    test1();
    return 0;
}
